package cn.dlc.com.config;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;

/**
 * @Author dlc
 * @Date 2023/12/16
 * @Description TODO
 * @Version 0.0.1
 */
@Component
public class HotLoadData implements InitializingBean {

    @Autowired
    private StringRedisTemplate redisTemplate;

    @Override
    public void afterPropertiesSet() throws Exception {
        //  todo 进行缓存的初始化，
    }
}
